function AddContent() {
	this.init = function(data) {
		layui.use(['form', 'layedit', 'upload'], function() {
			var form = layui.form(),
				//layer = layui.layer,
				layedit = layui.layedit;
			layedit.set({
				uploadImage: {
					url: './json/test.json',
					type:'post'
				}
			});
			//创建一个编辑器
			var editIndex = layedit.build('LAY_demo_editor');
		});
		
		$("#title").val(data);
	}
}